home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / misc / xref_v1.1.lha / XRef / Tools / lib / writebuffer.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-22  |  618 b   |  33 lines

  1. /*
  2. ** $PROJECT: xrefsupport.lib
  3. **
  4. ** $VER: writebuffer.c 1.1 (08.09.94)
  5. **
  6. ** by
  7. **
  8. ** Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  9. **
  10. ** (C) Copyright 1994
  11. ** All Rights Reserved !
  12. **
  13. ** $HISTORY:
  14. **
  15. ** 08.09.94 : 001.001 :  initial
  16. */
  17.  
  18. #include "/source/Def.h"
  19.  
  20. #include "xrefsupport.h"
  21.  
  22. RegCall void _mysprintf(REGA3 STRPTR buf,REGA0 STRPTR fmt,REGA1 APTR data,REGA6 struct Library *SysBase);
  23.  
  24. extern struct Library *SysBase;
  25.  
  26. void mysprintf(struct Buffer *buf,STRPTR fmt,APTR arg,...)
  27. {
  28.    _mysprintf(buf->b_Ptr,fmt,&arg,SysBase);
  29.    buf->b_Ptr += strlen(buf->b_Ptr);
  30.    *buf->b_Ptr = '\0';
  31. }
  32.  
  33.